/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gnupostgressqldesigner.designepattern;

/**
 *
 * @author juliano
 */
public class Controller
{
    protected View view;
    protected Model model;

    public Controller()
    {

    }

    public void show()
    {
        view = new View(this);
    }

    public void createModel()
    {
        model = new Model(this);
    }

    @Override
    public String toString()
    {
        return super.toString() + "Controller";
    }

}
